package hcn.protocol.base;

import ctd.util.xml.jaxb.DateTimeAdapter;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.io.Serializable;
import java.util.Date;


/**
 * @author chase
 * @Title: hcn-web
 * @Package hcn.protocol.base
 * @Description: 挂号科室
 * @date 2016/7/18 17:09
 */
@XmlRootElement(name = "regPlan")
public class RegPlanBean implements Serializable {
    private static final long serialVersionUID = 2086420359337259902L;
    private String orgId;//云端机构ID
    private String seqId;//门诊排班代码
    private String regDeptId;//挂号科室代码
    private String localDoctorId;//医生工号
    private Date workDate;//工作日期
    //@DicMapping(dic ="planTime&hcn-base-dictionary-HCN_outpatientSchedulingService")
    private String planTime;//排班班次
    private String stopFlag;//停诊标志
    private String stopReason;//停诊原因
    private Date stopConfirmDt;//停诊确认时间
    private String address;//门诊地址
    private Double charge;
    private Double feeItem1;
    private Double feeItem2;
    private Double feeItem3;


    @XmlElement
    public String getDeptRegId() {
        return regDeptId;
    }

    @XmlElement
    public String getDoctorLocalId() {
        return localDoctorId;
    }

    @XmlElement
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    public Date getWorkDate() {
        return workDate;
    }

    @XmlElement
    public String getPlanTime() {
        return planTime;
    }

    @XmlElement
    public String getAddress() {
        return address;
    }

    @XmlElement
    public String getSeqId() {
        return seqId;
    }

    @XmlElement
    public String getOrgId() {
        return orgId;
    }

    public void setDeptRegId(String deptRegId) {
        this.regDeptId = deptRegId;
    }

    public void setWorkDate(Date workDate) {
        this.workDate = workDate;
    }

    public void setPlanTime(String planTime) {
        this.planTime = planTime;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setSeqId(String seqId) {
        this.seqId = seqId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    @XmlElement
    public String getRegDeptId() {
        return regDeptId;
    }

    public void setRegDeptId(String regDeptId) {
        this.regDeptId = regDeptId;
    }

    @XmlElement
    public String getLocalDoctorId() {
        return localDoctorId;
    }

    public void setLocalDoctorId(String localDoctorId) {
        this.localDoctorId = localDoctorId;
    }

    @XmlElement
    public String getStopFlag() {
        return stopFlag;
    }

    public void setStopFlag(String stopFlag) {
        this.stopFlag = stopFlag;
    }

    @XmlElement
    public String getStopReason() {
        return stopReason;
    }

    public void setStopReason(String stopReason) {
        this.stopReason = stopReason;
    }

    @XmlElement
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    public Date getStopConfirmDt() {
        return stopConfirmDt;
    }

    public void setStopConfirmDt(Date stopConfirmDt) {
        this.stopConfirmDt = stopConfirmDt;
    }

    @XmlElement
    public Double getCharge() {
        return charge;
    }

    public void setCharge(Double charge) {
        this.charge = charge;
    }

    @XmlElement
    public Double getFeeItem1() {
        return feeItem1;
    }

    public void setFeeItem1(Double feeItem1) {
        this.feeItem1 = feeItem1;
    }

    @XmlElement
    public Double getFeeItem2() {
        return feeItem2;
    }

    public void setFeeItem2(Double feeItem2) {
        this.feeItem2 = feeItem2;
    }

    @XmlElement
    public Double getFeeItem3() {
        return feeItem3;
    }

    public void setFeeItem3(Double feeItem3) {
        this.feeItem3 = feeItem3;
    }
}
  